package com.cluster.platform.mapper;

import com.cluster.platform.model.CmsTagsInfo;
import com.cluster.platform.model.CmsTagsInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsTagsInfoMapper {
    long countByExample(CmsTagsInfoExample example);

    int deleteByExample(CmsTagsInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(CmsTagsInfo record);

    int insertSelective(CmsTagsInfo record);

    List<CmsTagsInfo> selectByExample(CmsTagsInfoExample example);

    CmsTagsInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CmsTagsInfo record, @Param("example") CmsTagsInfoExample example);

    int updateByExample(@Param("record") CmsTagsInfo record, @Param("example") CmsTagsInfoExample example);

    int updateByPrimaryKeySelective(CmsTagsInfo record);

    int updateByPrimaryKey(CmsTagsInfo record);

    // 动态查询
    List<CmsTagsInfo> searchTags(CmsTagsInfo cmsTagsInfo);

    // 批量操作
    int batchTags(@Param("status")int status,@Param("ids")List<String> ids);
}